package com.hsd.computer;

import org.springframework.stereotype.Component;

/**
 * 定义500G的硬盘，实现硬盘接口
 */
@Component("D500G")
public class Disk500G implements IDisk{
    @Override
    public void diskInfo() {
        System.out.println("硬盘：西部数据；大小：500G");
    }
}
